package com.smart.buss.service.impl;

import com.smart.buss.dao.BussTongjiUserMapper;
import com.smart.buss.service.BussTongjiUserService;
import com.smart.buss.vo.BussTongjiUser;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class BussTongjiUserServiceImpl implements BussTongjiUserService {

	@Resource
	private BussTongjiUserMapper bussTongjiUserMapper;

	@Override
	public BussTongjiUser queryObject(BussTongjiUser entity) throws Exception {
		return bussTongjiUserMapper.queryObject(entity);
	}

	@Override
	public List<BussTongjiUser> queryList(BussTongjiUser entity) throws Exception {
		return bussTongjiUserMapper.queryList(entity);
	}

	@Override
	public List<BussTongjiUser> queryListByPage(BussTongjiUser entity) throws Exception {
		return bussTongjiUserMapper.queryListByPage(entity);
	}

	@Override
	public Integer queryCount(BussTongjiUser entity) throws Exception {
		return bussTongjiUserMapper.queryCount(entity);
	}

	@Override
	public Integer insert(BussTongjiUser entity) throws Exception {
		return bussTongjiUserMapper.insert(entity);
	}

	@Override
	public Integer update(BussTongjiUser entity) throws Exception {
		return bussTongjiUserMapper.update(entity);
	}

	@Override
	public Integer delete(String id) throws Exception {
		return bussTongjiUserMapper.delete(id);
	}
}
